package common

import (
	"github.com/astaxie/beego/config"
	"github.com/asim/go-micro/v3"
	"log"
)

var Service micro.Service

var EConfig config.Configer

const (
	ServerName = "emicro.gateway"
)

func init(){
	iniConfig, err := config.NewConfig("ini", "./conf/service.conf")
	if err != nil {
		log.Println("Config Init Err:", err)
	}
	EConfig = iniConfig
}